package cn.xny.user.mapper;

import cn.xny.user.domain.User;
import cn.xny.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2023-02-07
 */
public interface UserMapper extends BaseMapper<User> {

    //判断电话是否注册
    User loadByphone(String phone);

    //判断邮箱是否注册
    User loadByEmail(String email);


    //根据logininfo查询user
    User loadByLogininfoId(Long id);
}
